-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profil page #155
Profil page #155
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kludne uprav daco v dalsom PR
<Typography sx={{fontSize: '1.875rem'}}> | ||
<span className={styles.label}>{label}</span> | ||
{value} | ||
</Typography> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
asi to po #162 bude Stack horizontal gap 1 a Typography osobitne na label a value, ale v poho nateraz
<ProfileLine label={'meno'} value={profile?.first_name + ' ' + profile?.last_name} /> | ||
<ProfileLine label={'e-mail'} value={profile?.email} /> | ||
<ProfileLine label={'škola'} value={profile?.school.verbose_name} /> | ||
<ProfileLine label={'ročník'} value={`${profile?.grade_name}`} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zbytocna konverzia na string. inak ten default ze || '-'
netreba pri email/school/grade?
@@ -0,0 +1,12 @@ | |||
import {NextPage} from 'next' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
treba este matik a malynar stranky
fd7b8da
to
be3f592
Compare
be3f592
to
1ef4400
Compare
first part of #56